<?php
class siteMod extends commonMod
{
	public function __construct()
	{
		parent::__construct();

	}
	public function site($id=1)
	{
		$condition['id'] = $id;
		$info=$this->model->table('setting')->where($condition)->find();
		if($info)
		{
			$info['keywords']= explode(',',$info['keywords']);
			$info['description'] = html_out($info['description']);
			return $info;
		}
	}
}
?>